const localStorage = {
    storage: {
        user: [
            {
                id: 1,
                username: 'laoyu',
                password: 'laoyu@123456YYDS',
            }, {
                id: 2,
                username: 'zhangtongxue',
                password: 'zhangtongxue@happyYYDS',
            }, {
                id: 3,
                username: 'guotongxue',
                password: 'guotongxue@jrYYDS'
            }
        ]
    },
    get(key) {
        return this.storage[key];
    },
    set(key, value) {
        this.storage[key] = value;
    },
    removeItem(key) {
        delete this.storage[key];
    },
};

